<!DOCTYPE html>
<html>
<head>
    <title>For-In Statement Example 1</title>
</head>
<body>
    <script type="text/javascript">
        for (var propName in window) {
             document.write(propName);
             document.write("<br />");
        }


    </script>
</body>
</html>